-
Notifications
You must be signed in to change notification settings - Fork 11
feat: add automated draft release on version change #195
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
feat: add automated release on version change
I wonder if https://github.com/googleapis/release-please might just be a better option here. I'm going with that in filecoin-pin at the moment and we'll be switching synapse-sdk to it and it's fairly flexible, not tied to npm/node stuff. Maybe we can extend it with some hooks to do some updates for us - like update the version string in the contract for us based on conventional commits guessing. Worth looking at at least? |
Yeah, I will take a look at that. And update accordingly. |
Below are my thoughts @rjan90 around this subject. But maybe we should move this to a more general "FOC contract versioning and release management" design doc?
{
networkName : "mainnnet",
contractNameDeployed : "pdp.sol",
commitDeployed : "commit_that_corresponds_with_version_2.1.0",
contractAddress : "address_of_contract_on_mainnet",
deploymentTransaction : "transaction_hash",
}
General comments:
I won't claim expertise here and happy to support alternative approaches. This is where I landed with when trying to balance where we are with getting things more auditable and less error prone for the future. |
Add automated release workflow for version changes:
Workflow: